package org.thanos.demo.entity;

import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
@AllArgsConstructor
public class SysUser {

    private static final List<SysUser> LISTS = new ArrayList<>();

    static {
        LISTS.add(new SysUser(1, "admin", "123456", "管理员"));
    }

    private Integer id;
    private String loginId;
    private String password;
    private String name;

    public static List<SysUser> data(){
        return LISTS;
    }
}
